﻿.scheme-wrapper {
  overflow: auto;
  position: relative;
  /*affects scrolling and scaling*/
}
.scheme-wrapper.loading {
  background-image: url('../images/loading.gif');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.scheme {
  position: absolute;
  /*affects scaling*/
  transform-origin: left top;
  /*affects scaling*/
}
.scheme .comp {
  box-sizing: border-box;
  position: absolute;
}
.scheme .comp.action {
  cursor: pointer;
}
.scheme .cmd-frame {
  background-image: url('../images/loading.gif');
  background-position: center;
  background-repeat: no-repeat;
  width: 100px;
  height: 50px;
  left: 50%;
  top: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  background-color: white;
  background-size: 40px 40px;
  border: 1px solid #999;
  border-radius: 6px;
}
body {
  margin: 0;
  padding: 0;
  background-color: #f1f1f1;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 12px;
  overflow: hidden;
}
/* Toolbar (above the scheme) */
#divToolbar {
  position: fixed;
  height: 30px;
  left: 0;
  top: 0;
  color: #9ca1a6;
  display: inline-block;
  font-size: 14px;
  opacity: 0.5;
  white-space: nowrap;
}
#divToolbar:hover {
  opacity: 1;
}
#divToolbar .tool-btn,
#spanCurScale {
  height: 30px;
  margin: 0 5px 0 0;
  padding: 0 10px;
  cursor: pointer;
  background-color: white;
  display: inline-block;
  line-height: 30px;
  vertical-align: top;
}
#divToolbar .tool-btn:hover {
  color: #00b9eb;
}
#spanCurScale {
  cursor: default;
  font-size: 12px;
}
#spanCurScale:hover {
  opacity: 1;
}
/* Debug tools */
#divDebugTools {
  padding: 0 10px;
  display: none;
  /*inline-block*/
  font-size: 12px;
  vertical-align: top;
}